package com.thread.exem;

/**
 * @author げっしょく
 * @date 2021/8/6
 */
public class Test4 {
    public static void main(String[] args) {
        Test4ex ts = new Test4ex();
        Thread thread = new Thread(ts);
        Thread t1 = new Thread(ts);
        thread.setName("牛马");
        t1.setName("邱清泉");
        thread.start();
        t1.start();
    }
}

class MYout extends Thread{
    public MYout() {
    }

    public MYout(String name) {
        super(name);
    }
}
